package com.ljfresh.customer.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author: Lucifer
 * @time: 2020/4/9-9:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageObject {
    private int pageNumber=1; //当前页
    private int pageSize=10;   //每页显示记录数
    //private String keyword; //关键字
    //private int pages;//总页数
    private Map map;//参数集合

    public PageObject(int pageNumber,int pageSize,Map map){
        this.pageNumber = pageNumber;
        this.pageSize = pageSize;
        this.map = map;
    }


    private String order = "id asc";
}
